package com.caiyi.financial.nirvana.sms.mapper;

import com.caiyi.financial.nirvana.sms.base.mapper.BaseMapper;
import com.caiyi.financial.nirvana.sms.entity.SmsAccountBlacklist;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface SmsAccountBlacklistMapper extends BaseMapper<SmsAccountBlacklist> {


    @Select("select count(id) from sms_account_blacklist where account = #{account} and phone = #{phone}")
    int selectAccountBlacklist(SmsAccountBlacklist smsAccountBlacklist);


}
